export const setToken = (token) => {
  return localStorage.setItem('hm-token', JSON.stringify(token))
}

export const getToken = () => JSON.parse(localStorage.getItem('hm-token')) || {}

export const removeToken = () => localStorage.removeItem('hm-token')
